<?php
require_once("vcl/vcl.inc.php");
//Includes
use_unit("buttons.inc.php");
use_unit("dbgrids.inc.php");
use_unit("db.inc.php");
use_unit("dbtables.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");

//Class definition
class Unit1 extends Page
{
       public $EditDIncasso = null;
       public $EditImporto = null;
       public $Query1 = null;
       public $fdIncassi3 = null;
       public $fdIncassi2 = null;
       public $fdIncassi1 = null;
       public $ddIncassi1 = null;
       public $TB2 = null;
       public $BClose = null;
       public $Button1 = null;
       public $RadioGroup1 = null;
       public $Label2 = null;
       public $Label1 = null;
       public $DS2 = null;
       public $TB1 = null;
       public $DS1 = null;
       public $MySQLDB1 = null;
       function Button1Click($sender, $params)
       {
                       $this->TB2->Cancel();

                    //Append a new record
                    $this->TB2->Append();

                   //Prompt the user for info
       }

}

global $application;

global $Unit1;

//Creates the form
$Unit1=new Unit1($application);

//Read from resource file
$Unit1->loadResource(__FILE__);

//Shows the form
$Unit1->show();

?>